import React from 'react';
import ReactDOM from 'react-dom';
import ComponentHeader from './components/header';
import ComponentFooter from './components/footer';
import ComponentBodyIndex from './components/bodyindex';

export default class Index extends React.Component {
	componentWillMount(){
		console.log("Index--componentWillMount");
	}
	componentDidMount(){
		console.log("Index--componentDidMount");
	}
	render() {
		return (
			<div>
			<ComponentHeader/>
			<ComponentBodyIndex userid={99} username="landy"/>
			<ComponentFooter/>
			</div>
		);
	}
}

